memory management in python interview questions